Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Sets the debug info around the ‘func’.
function debug.setinfo(func: function, info: table): ()
setinfo
local foo = function() print(debug.traceback()) end foo() --> Original info debug.setinfo(foo, { name = "bar", source = "bar", short_src = "bar", currentline = 123 }) foo() --> Spoofed one